<?xml version="1.0" encoding="utf-8"?>
<SwooshConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <StorageList>
    <Storage>
      <Name>WorkPCStorage</Name>
      <Converters>
        <ConverterItem>
          <!-- Defines, how the destination can access the mediafiles of the source -->
          <DestinationStorage>MediaPCStorage</DestinationStorage>
          <PrefixTransformation>
            <PrefixTransformationItem>
              <!--the "From"-part of the filepath will be replaced with the "To"-path -->
              <From>C:\Movies</From>
              <To>\\WORKPC\Share\Movies</To>
            </PrefixTransformationItem>
            <PrefixTransformationItem>
              <From>C:\Music</From>
              <To>\\WORKPC\Share\Music</To>
            </PrefixTransformationItem>
          </PrefixTransformation>
        </ConverterItem>
        <ConverterItem>
          <DestinationStorage>WorkPCStorage</DestinationStorage>
          <PrefixTransformation />
        </ConverterItem>
      </Converters>
    </Storage>
    <Storage>
      <Name>MediaPCStorage</Name>
      <Converters>
        <ConverterItem>
          <DestinationStorage>WorkPCStorage</DestinationStorage>
          <PrefixTransformation>
            <PrefixTransformationItem>
              <From>D:\Movies</From>
              <To>\\MEDIAPC\Share\Movies</To>
            </PrefixTransformationItem>
            <PrefixTransformationItem>
              <From>D:\Music</From>
              <To>\\MEDIAPC\Share\Music</To>
            </PrefixTransformationItem>
          </PrefixTransformation>
        </ConverterItem>
        <ConverterItem>
          <DestinationStorage>MediaPCStorage</DestinationStorage>
          <PrefixTransformation />
        </ConverterItem>
      </Converters>
    </Storage>
  </StorageList>
  <PlaybackDevices>
    <!--In this section, the available VLCPlayers are listed. 
    In this example, there is just one, running on WorkPC-->
    <PlaybackDevice>
      <Name>VLCWorkPC</Name>
      <StorageName>WorkPCStorage</StorageName>
      <PlayerClass>Swoosh.MediaPlayers.VlcOldHttp.Player</PlayerClass>
      <Configuration>
        <PlayerConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <ServerName>NAME_OR_IP</ServerName>
          <ServerPort>51000</ServerPort>
        </PlayerConfig>
      </Configuration>
    </PlaybackDevice>
    <PlaybackDevice>
      <Name>XBMCMediaPC</Name>
      <StorageName>MediaPCStorage</StorageName>
      <PlayerClass>Swoosh.MediaPlayers.XbmcDharma.Player</PlayerClass>
      <Configuration>
        <PlayerConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <ServerName>NAME_OR_IP</ServerName>
          <ServerPort>51001</ServerPort>
        </PlayerConfig>
      </Configuration>
    </PlaybackDevice>
    <PlaybackDevice>
      <Name>WinampWorkPC</Name>
      <StorageName>MediaPCStorage</StorageName>
      <PlayerClass>Swoosh.MediaPlayers.WinampAjaxAmpV3.Player</PlayerClass>
      <Configuration>
        <PlayerConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <ServerName>NAME_OR_IP</ServerName>
          <ServerPort>5151</ServerPort>
        </PlayerConfig>
      </Configuration>
    </PlaybackDevice>
  </PlaybackDevices>
  <SwooshActionList>
    <SwooshAction>
      <!-- The key "CTRL+ALT+NumPad6" would cause a swoosh from VLC, 
      running on WorkPC - to XBMC, running on MediaPC-->
      <Trigger>
        <Keys>LControlKey</Keys>
        <Keys>LMenu</Keys>
        <Keys>NumPad6</Keys>
      </Trigger>
      <SourcePlayerName>VLCWorkPC</SourcePlayerName>
      <DestinationPlayerName>XBMCMediaPC</DestinationPlayerName>
    </SwooshAction>
    <SwooshAction>
      <!-- The key "CTRL+ALT+NumPad4" would cause a swoosh from XBMC, 
      running on MediaPC - to VLC, running on WorkPC-->
      <Trigger>
        <Keys>LControlKey</Keys>
        <Keys>LMenu</Keys>
        <Keys>NumPad4</Keys>
      </Trigger>
      <SourcePlayerName>XBMCMediaPC</SourcePlayerName>
      <DestinationPlayerName>VLCWorkPC</DestinationPlayerName>
    </SwooshAction>
    <SwooshAction>
      <!-- The key "CTRL+ALT+NumPad1" would cause a swoosh from Winamp, 
      running on WorkPC - to XBMC, running on MediaPC-->
      <Trigger>
        <Keys>LControlKey</Keys>
        <Keys>LMenu</Keys>
        <Keys>NumPad1</Keys>
      </Trigger>
      <SourcePlayerName>WinampWorkPC</SourcePlayerName>
      <DestinationPlayerName>XBMCMediaPC</DestinationPlayerName>
    </SwooshAction>
  </SwooshActionList>
</SwooshConfig>